<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

        <form id="frmDept" action="" method="post" class="l-form" >
        <div class="l-group l-group-hasicon">
            <img src="<%=request.getContextPath()%>/Content/icons/communication.gif">
            <span>部门信息</span> 
        </div>
        <ul>
            <li style="width: 100px; text-align: right;">部门名称：</span></li>
            <li style="width: 220px; text-align: left;">
                <input name="name" class="easyui-validatebox" required="true" validtype="length[1,50]" style="width: 214px" />
            </li>
        </ul>
        <ul>
		<li style="width: 100px; text-align: right;">上级部门：</span></li>
		<li style="width: 220px; text-align: left;">
<!-- 		<input name="parentId" id="parentId" class="easyui-validatebox"/> -->
		<input name="parentId" id="parentId" class="easyui-combotree"
				value="${parentId}"
				data-options="url:'<%=request.getContextPath()%>/department/tree',required:false,editable:false,
                            onShowPanel:function () {
                                $(this).combotree('reload');
                              }"
				style="width: 220px" />	
			</li>
	    </ul>
<!--         <ul> -->
<!-- 			<li style="width: 100px; text-align: left;">排序：</li> -->
<!-- 			<li style="width: 220px; text-align: left;"><input name="sort"  -->
<!-- 				class="easyui-numberspinner" required="false" data-options="min:0,max:10000,value:5,editable:true" -->
<!-- 				style="width: 220px" /> -->
<!-- 			</li> -->
<!-- 		</ul> -->
        <ul>
            <li style="width: 100px; text-align: right;">描述：</li>
            <li style="width: 300px; text-align: left;">
                <textarea name="desc" style="resize: none; width: 294px" ></textarea>
            </li>
        </ul>
        </form>


